package com.loveofsoftware.fotolab.effects;

import android.graphics.Bitmap;
import android.graphics.Matrix;

public class RotateEffect implements InitialEffects {

	public static float deg = 90;
	public static final float MAX_DEG = 180;

	public Bitmap transform(Bitmap in) {
		Matrix matrix = new Matrix();
		matrix.setRotate(deg);
		in = Bitmap.createBitmap(in, 0, 0, in.getWidth(), in.getHeight(),
				matrix, true);
		return in;
	}
}
